package com.oocl.dao;

import java.util.List;

import com.oocl.pojo.Customer;

public interface CustomerDao {
	
	public int addCustomer(Customer customer);
	
	public int deleteCustomerById(Integer id);
	
	public int updateCustomer(Customer customer);
	
	public List<Customer> findAllCustomers();
	
	public Customer findCustomerById(Integer id);
	
	public int findCustomerIdByName(String cname);
	
	public List<String> findHobbyByCid(Integer cid);
	
	public int deleteHobbyByCid(Integer cid);
	
	public int addHobby(Integer cid,String[] hobby);

}
